package com.guoranhao.admin;

import com.alibaba.dubbo.spring.boot.annotation.EnableDubboConfiguration;
import com.guoranhao.tool.utils.LogUtil;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.PropertySource;

@EnableDubboConfiguration
@SpringBootApplication
@PropertySource({"classpath:common.properties"})
public class GuoranhaoAdminApplication {

    private static final Logger logger = LoggerFactory.getLogger(GuoranhaoAdminApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(GuoranhaoAdminApplication.class, args);
        LogUtil.info(logger, "【GuoranhaoAdminApplication】START SUCCESS ~~!!!");
        System.out.println("【GuoranhaoAdminApplication】START SUCCESS ~~!!!");
    }
}
